package com.ruoyi.supplier.domain.bo;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import java.math.BigDecimal;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 采购单费用结算业务对象
 *
 * @author ruoyi
 * @date 2023-09-18
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class PurchaseAmountBo extends BaseEntity {

    /**
     * 
     */
    @NotNull(message = "不能为空", groups = { EditGroup.class })
    private Integer purchaseAmountId;

    /**
     * 供应商商户ID
     */
    @NotNull(message = "供应商商户ID不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long merchantId;

    /**
     * 供应商id
     */
    @NotNull(message = "供应商id不能为空", groups = { AddGroup.class, EditGroup.class })
    private Integer supplierId;

    /**
     * 结算状态
     */
    @NotNull(message = "结算状态不能为空", groups = { AddGroup.class, EditGroup.class })
    private Integer status;

    /**
     * 费用金额
     */
    @NotNull(message = "费用金额不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal shouldAmount;

    /**
     * 结算金额
     */
    @NotNull(message = "结算金额不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal actualAmount;

    /**
     * 结算年月
     */
    @NotNull(message = "结算年月不能为空", groups = { AddGroup.class, EditGroup.class })
    private Integer accountantId;


}
